<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<!-- 导入semantic的样式 -->
<jsp:include page="../head.jsp">
<jsp:param value="${empty post ?'新增职位':'修改职位' }" name="title"/>
</jsp:include>

</head>
<body>
	<div class="container">
		<div class="row">
			<div id="content" class="col-lg-12">
				<div class = "dao">		
					<a class="section" href = "position?postStatus=1">职位管理</a>
					  <i class="right chevron icon divider"></i>
					  <span class="active section">${empty post ?'新增职位':'修改职位' }</span>							
				</div>
				<form  method="post" class="ui form create-form content">
					<!-- 如果是新建这里没有值 -->
				  <input type="hidden" name="postId" value="${post.postId }">
				  <div class="field">
				    <label>职位名称</label>
				    <input type="text" name="postName" value="${post.postName}">
				  </div>
				  
				  <div class="field">
				    <label>职位描述</label>
				    <input type="text" name="postDescribe" value="${post.postDescribe }">
				  </div>
				  <button class="ui button" type="submit">${empty post ?'创建':'保存' }</button>
				  <span>${error}</span>
				</form>
			</div>
		</div>
	</div>
</div>
</body>
</html>